package com.itheima.controller;

public class Result2 {
    //描述统一格式中的数据
    private Object rows;
    //描述统一格式中的编码，用于区分操作，可以简化配置0或1表示成功失败
    private long totalCount;

    public Result2() {

    }

    public Result2(Object rows, long totalCount) {
        this.rows = rows;
        this.totalCount = totalCount;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }
}
